package com.msb.apipassenger.feign;

import com.msb.commons.dto.OrderDTO;
import com.msb.commons.response.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: chshh
 * @version: 1.0
 */
@FeignClient("service-order")
public interface ServiceOrderClient {

    @PostMapping("/order/add")
    public ResponseResult add(@RequestBody OrderDTO orderDTO);
}
